package com.changyou.kf.mock.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class SocketInfo {

    private Integer tenantId = 100002;

    private String appkey;

    private String serverId;

    private String roleId;

    private String clientId;

    public String getKey() {
        return tenantId + "," + appkey + "," + serverId + "," + roleId;
    }
}
